package com.xgx.distqcp.Controller;

import com.ecwid.consul.v1.agent.model.Check;
import com.jfinal.aop.Before;
import com.xgx.distqcp.Controller.Base.BaseController;
import com.xgx.distqcp.Interceptor.CheckTokenInterceptor;
import io.jboot.web.controller.JbootController;
import io.jboot.web.controller.annotation.RequestMapping;

@RequestMapping("/")

public class HelloController extends BaseController{
    @Before(CheckTokenInterceptor.class)
    public void index(){
        renderText("hello jboot");
    }

}
